package blogsys.demo.bean;

import org.apache.ibatis.type.Alias;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * 用户信息
 * 2022.5.14
 * @author xp
 * @version 1.0
 */
@Alias("UserInfo")
public class UserInfo implements Serializable {
    private String userInfoId;
    private String userInfoPassword;
    private String userInfoName;
    private int userInfoSex;
    private String userInfoAddress;
    private String userInfoTelephone;
    private Date userInfoCreateDate;


    public UserInfo() {
    }

    public UserInfo(String userInfoId, String userInfoPassword) {
        this.userInfoId = userInfoId;
        this.userInfoPassword = userInfoPassword;
    }

    public UserInfo(String userInfoId, String userInfoPassword, String userInfoName, int userInfoSex, String userInfoAddress, String userInfoTelephone, Date userInfoCreateDate) {
        this.userInfoId = userInfoId;
        this.userInfoPassword = userInfoPassword;
        this.userInfoName = userInfoName;
        this.userInfoSex = userInfoSex;
        this.userInfoAddress = userInfoAddress;
        this.userInfoTelephone = userInfoTelephone;
        this.userInfoCreateDate = userInfoCreateDate;
    }

    public String getUserInfoId() {
        return userInfoId;
    }

    public void setUserInfoId(String userInfoId) {
        this.userInfoId = userInfoId;
    }

    public String getUserInfoPassword() {
        return userInfoPassword;
    }

    public void setUserInfoPassword(String userInfoPassword) {
        this.userInfoPassword = userInfoPassword;
    }

    public String getUserInfoName() {
        return userInfoName;
    }

    public void setUserInfoName(String userInfoName) {
        this.userInfoName = userInfoName;
    }

    public int getUserInfoSex() {
        return userInfoSex;
    }

    public void setUserInfoSex(int userInfoSex) {
        this.userInfoSex = userInfoSex;
    }

    public String getUserInfoAddress() {
        return userInfoAddress;
    }

    public void setUserInfoAddress(String userInfoAddress) {
        this.userInfoAddress = userInfoAddress;
    }

    public String getUserInfoTelephone() {
        return userInfoTelephone;
    }

    public void setUserInfoTelephone(String userInfoTelephone) {
        this.userInfoTelephone = userInfoTelephone;
    }

    public Date getUserInfoCreateDate() {
        return userInfoCreateDate;
    }

    public void setUserInfoCreateDate(Date userInfoCreateDate) {
        this.userInfoCreateDate = userInfoCreateDate;
    }

    @Override
    public String toString() {
        return "UserInfo{" +
                "userInfoId='" + userInfoId + '\'' +
                ", userInfoPassword='" + userInfoPassword + '\'' +
                ", userInfoName='" + userInfoName + '\'' +
                ", userInfoSex=" + userInfoSex +
                ", userInfoAddress='" + userInfoAddress + '\'' +
                ", userInfoTelephone='" + userInfoTelephone + '\'' +
                ", userInfoCreateDate=" + userInfoCreateDate +
                '}';
    }
}
